cmake_minimum_required(VERSION 4.0.2)
project(
    Planning
    VERSION 0.0.1
    DESCRIPTION "a demo of cmake"
    HOMEPAGE_URL "https://gitee.com/scarypie/example-cmake-demo"
    LANGUAGES CXX
)

# 语言版本 C++ 17
set(CMAKE_CXX_STANDARD 17)
# 启动测试
enable_testing()

# 变量设置
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
set(PNC_MAP_DIR ${CMAKE_SOURCE_DIR}/src/pnc_map)
set(PROCESS_DIR ${CMAKE_SOURCE_DIR}/src/process)

# 添加子模块
add_subdirectory(src)
add_subdirectory(test/map_test)